// 项目管理

import request from "./axios";

export const ProjectAPI = {
  getList: (params) => request.get("/entities/Project", { params }),
  
  get: (id) => request.get(`/entities/Project/${id}`),

  create: (data) => request.post("/entities/Project", data),

  update: (id, data) => request.put(`/entities/Project/${id}`, data),

  delete: (id) => request.delete(`/entities/Project/${id}`),
};
